/**   
 * @ClassName: Constants.java 
 * @Package com.vrv.common.constants
 * @author LQ   
 * @date 2017年4月28日16:35:14
 * @version V1.0
 */
package com.vrv.common.constants;

/** 
 * Constants:常量类
 * @author LQ 
 */
public class Constants {
    
    /**
     * 根节点的treepath = "0,"
     */
    public static final String ROOT_TREEPATH = "0,";
    /**
     * 树形结构root编号 = 0
     */
    public static final Integer ROOT_CODE = 0;
    /**
     * 默认级别 = 1
     */
    public static final Integer DEFAULT_LEVEL = 1;
    /**
     * INTEGER 默认值=0
     */
    public static final Integer DEFAULT_INTEGER = 0;
    /**
     * String 默认值=""
     */
    public static final String DEFAULT_STRING = "";
    /**
     * admin 账号=1
     */
    public static final Integer ADMIN = 1;
    /**
     * 是否删除 是 = 1
     */
    public static final Integer ISDELETE_YES = 1;
    /**
     * 是否删除 否 = 0
     */
    public static final Integer ISDELETE_NO = 0;
    /**
     * 是否启用 是=1
     */
    public static final Integer ISENABLE_YES = 1;
    /**
     * 是否启用 否=0
     */
    public static final Integer ISENABLE_NO = 0;
    /**
     * 是否叶子节点 是=1
     */
    public static final Integer ISLEAF_YES = 1;
    /**
     * 是否叶子节点 否=0
     */
    public static final Integer ISLEAF_NO = 0;
    /**
     * 分隔符 逗号=","
     */
    public static final String SEPARATOR_COMMA = ",";
    /**
     * 数字1
     */
    public static final Integer DIGIT_1 = 1;
    /**
     * 数字2
     */
    public static final Integer DIGIT_2 = 2;
    /**
     * 数字3
     */
    public static final Integer DIGIT_3 = 3;
    /**
     * 数字4
     */
    public static final Integer DIGIT_4 = 4;
    /**
     * 数字5
     */
    public static final Integer DIGIT_5 = 5;
    /**
     * 数字6
     */
    public static final Integer DIGIT_6 = 6;
    /**
     * 数字7
     */
    public static final Integer DIGIT_7 = 7;
    /**
     * 数字8
     */
    public static final Integer DIGIT_8 = 8;
    /**
     * 数字9
     */
    public static final Integer DIGIT_9 = 9;
    /**
     * 数字10
     */
    public static final Integer DIGIT_10 = 10;
    
    /**
     * 返回值代码 0-成功
     */
    public static final Integer RESULT_SUCCESS = 0;
    /**
     * 返回值代码500-失败
     */
    public static final Integer RESULT_FAILED = 500;
    /**
     * 返回消息 = "保存成功！"
     */
    public static final String RESULT_MESSAGE_SAVE_SUCCESS = "保存成功！";
    /**
     * 返回消息 = "保存失败！"
     */
    public static final String RESULT_MESSAGE_SAVE_FAILED = "保存失败！";
    /**
     * 返回消息 = "删除成功！"
     */
    public static final String RESULT_MESSAGE_DELETE_SUCCESS = "删除成功！";
    /**
     * 返回消息 = "删除失败！"
     */
    public static final String RESULT_MESSAGE_DELETE_FAILED = "删除失败！";
    
}
